package cn.stylefeng.guns.modular.system.mapper;

import cn.stylefeng.guns.modular.system.entity.SysSchool;
import cn.stylefeng.guns.modular.system.model.SchoolDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 学校用户关联表 Mapper 接口
 * </p>
 *
 * @author zfy
 * @since 2020-08-06
 */
public interface SysSchoolMapper extends BaseMapper<SysSchool> {

    IPage<SchoolDto> schoolList(@Param("page")Page page,
                                @Param("name")String name,
                                @Param("examine")Integer examine,
                                @Param("createUser")Long createUser,
                                @Param("createUsers")String[] createUsers);
}
